
<div class="well">

	<legend>Productos</legend>

	<div class="btn-toolbar">
	<?php echo $this->Html->link('<i class="icon-plus-sign icon-white"></i> Agregar Producto', array('action' => 'add'), array('class' => 'btn btn-primary', 'escape' => false)); ?>
	</div>	
		
	<?php echo $this->render('/elements/table_producto','');?>
	
	<div>
		<div class="pagination pagination-right" style="margin: 0 0 10px 0;">
			
		<span class="counter"><?php echo $this->Paginator->counter('Mostrando {:start} a {:end} de {:count}');?></span>
			<ul>
				<?php 
				$this->Paginator->options(array(    'update' => '#content',    'evalScripts' => true,));
				echo $this->Paginator->first('<<', array('tag' => 'li'));
				echo $this->Paginator->prev('< ', array('tag' => 'li'), null, array('tag' => 'li', 'class' => 'prev newCurrent'));
				echo $this->Paginator->numbers(array('separator' => '', 'tag' => 'li', 'currentClass' => 'newCurrent', 'modulus' => 2));
				echo $this->Paginator->next('>', array('tag' => 'li'), null, array('tag' => 'li', 'class' => 'next newCurrent'));
				echo $this->Paginator->last('>>', array('tag' => 'li'));
				?>
			</ul>
		</div>
	</div>

<?php echo $this->Html->link('Volver', array('controller' => 'admin', 'action' => 'index'), array('class' => 'btn')); ?>
</div>
<script>  
$(function ()  
{ $("#sin1").popover(); 
$("#sin2").popover();  
$("#sin3").popover(); 
$("#sin4").popover(); 
$("#sin5").popover();  
$("#sin6").popover();  
$("#sin7").popover();  
$("#sin8").popover();  
});  
</script>